<template>
  <el-tooltip class="box-item" effect="dark" content="刷新" placement="bottom">
    <el-button type="success" icon="Refresh" circle @click="toRefresh" />
  </el-tooltip>
</template>

<script lang="ts" setup>
import { useSettingConfig } from '@/store/modules/setting';

let settingConfig = useSettingConfig();
function toRefresh() {
  settingConfig.refresh = !settingConfig.refresh;
}

</script>
<style lang="scss" scoped></style>